package com.dudy.authdemo.config;

import com.github.pagehelper.PageInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: auth_demo
 * @author: dudy
 * @create: 2020-12-24 22:53
 * @description:
 **/
@Configuration
public class MybatisPageHelper {
    @Bean
    public PageInterceptor pageInterceptor() {
        return new PageInterceptor();
    }
}
